package com.back.end.exception;

import com.back.end.enums.ResultCode;

public class AuthException extends RuntimeException {
    private ResultCode resultEnum;
    private Exception exception;

    public AuthException(ResultCode resultEnum) {
        this.resultEnum = resultEnum;
    }

    public ResultCode getResultEnum() {
        return resultEnum;
    }

    public Exception getException() {
        return exception;
    }
}
